#pragma once

#include	<Net.h>
#include	<Singleton.h>

#define		GDatabase	DatabaseConnector::Instance()

class DatabaseConnector : public IBaseConnector, public ISingleton<DatabaseConnector> {
public:
	DatabaseConnector() : IBaseConnector("dbproxy") {}

	virtual void OnReceive(Protocol * msg) override;
};